package com.spj.service;

import com.spj.entity.QueryCondition;
import com.spj.entity.User;

import java.util.List;

public interface UserServiceDao {
    User findUserByName(String name);
    int findUserRoleIdByName(String name);
    List<User> findtAllUsers(QueryCondition queryCondition);
    User checkUser(String account,String password);
    void deleteUserById(int id);
    void updateUser(User user);
    void addUser(User user);
}
